package com.example.demo.conf;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource(value="classpath:customs.properties")
public class TestConfiguration {
	
	@Value("${test.ds.userName}")
    private String userName;
    
    public void show() {
        System.out.println("ds.userName=" + this.userName);
    }

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	
    
}